import { IDEFormPage } from '@ibiz/model-core';
import { FormGroupPanelController } from '../form-group-panel';
import { FormPageState } from './form-page.state';

/**
 * 表单分页控制器
 *
 * @author lxm
 * @date 2022-09-04 15:09:52
 * @export
 * @class FormPageController
 * @extends {FormContainerController}
 */
export class FormPageController extends FormGroupPanelController<IDEFormPage> {
  declare state: FormPageState;

  protected createState(): FormPageState {
    return new FormPageState(this.parent?.state);
  }
}
